import request from "@/utils/request";

interface loginData {
  account: string,
  password: string
}
export const login = (data:loginData) => {
  return request({
    url: "/api/sys/user/login",
    method: "post",
    data
  })
}
